home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
Aminet
/
dev
/
amos
/
AMOSList-0998.lzh
/
AMOSLIST
/
000161_bounce-amos-lis…et@onelist.com_Tue Sep 8 03:47:25 1998.msg
< prev
next >
Wrap
Text File
|
1998-10-01
|
4KB
|
158 lines
>From bounce-amos-list--1022-mcox=access.digex.net@onelist.com Tue Sep 8 03:47:25 1998
Received: from onelist.com (pop.onelist.com [209.207.135.229])
by pony-1.mail.digex.net (8.8.8/8.8.8) with SMTP id DAA13445
for <mcox@access.digex.net>; Tue, 8 Sep 1998 03:47:25 -0400 (EDT)
Received: (qmail 915 invoked by alias); 8 Sep 1998 07:45:13 -0000
Received: (qmail 876 invoked from network); 8 Sep 1998 07:45:10 -0000
Received: from unknown (HELO tungsten.btinternet.com) (194.73.73.81) by pop.onelist.com with SMTP; 8 Sep 1998 07:45:10 -0000
Received: from np5gt [195.99.57.143] by tungsten.btinternet.com with smtp (Exim 1.70 #1) id 0zGISO-00016x-00; Tue, 8 Sep 1998 08:44:56 +0100
Message-ID: <001f01bddafc$cef94ba0$8f3963c3@np5gt>
From: "John Glanville" <John.Glanville@btinternet.com>
To: <amos-list@onelist.com>
Date: Tue, 8 Sep 1998 08:46:24 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Mailing-List: list amos-list@onelist.com; contact http://www.onelist.com
Delivered-To: mailing list amos-list@onelist.com
Precedence: bulk
Reply-to: amos-list@onelist.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Subject: [amos-list] What about Vumeters?
Status: O
X-Status:
From: "John Glanville" <John.Glanville@btinternet.com>
Has any one out there got any iteresting ideas for vumeters... here is a
little prog i was mucking around with this morning... note that this is a
rubbish prog ... And there is no need to run a speed check on it or even
optimize it as it is only an idea...its just I've never really used Vumeters
before.. so
i was just looking....
!start of code!
Screen Open 0,320,256,16,0
Flash Off
Curs Off
Blit Clear -1
ST:
F$=Fsel$("")
If F$<>""
Track Load F$,6
Else
Goto ST
End If
Track Play 6
Double Buffer
Autoback 0
Do
NV0=Vumeter(1)
NV1=Vumeter(2)
NV2=Vumeter(3)
If NV0>V0
V0=NV0
End If
If NV1>V1
V1=NV1
End If
If NV2>V2
V2=NV2
End If
If V0>1
V0=V0-2
End If
If V1>1
V1=V1-2
End If
If V2>1
V2=V2-2
End If
RCOL=V0/3
GCOL=V1/3
BCOL=V2/3
If RCOL>15
RCOL=15
End If
If GCOL>15
GCOL=15
End If
If BCOL>15
BCOL=15
End If
D#=1.5
NRCL=RCOL/D#
NGCL=GCOL/D#
NBCL=BCOL/D#
Colour 3,BCOL*256+GCOL*16+RCOL
Colour 4,GCOL*256+BCOL*16+RCOL
Colour 5,RCOL*256+GCOL*16+BCOL
Colour 6,NBCL*256+NGCL*16+NRCL
Colour 7,NGCL*256+NBCL*16+NRCL
Colour 8,NRCL*256+NGCL*16+NBCL
RCOL=RCOL+5
GCOL=GCOL+5
BCOL=BCOL+5
If RCOL>15
RCOL=15
End If
If GCOL>15
GCOL=15
End If
If BCOL>15
BCOL=15
End If
Colour 9,BCOL*256+GCOL*16+RCOL
Colour 10,GCOL*256+BCOL*16+RCOL
Colour 11,RCOL*256+GCOL*16+BCOL
If V0<>0
Ink 3
Bar 100,100-V0 To 110,100
End If
If V1<>0
Ink 4
Bar 115,100-V1 To 125,100
End If
If V2<>0
Ink 5
Bar 130,100-V2 To 140,100
End If
Ink 0
Bar 100,0 To 110,100-(V0)
Bar 115,0 To 125,100-(V1)
Bar 130,0 To 140,100-(V2)
Ink 6
F Draw 100,100 To 110,100
F Draw 110,100 To 110,100-V0
Ink 7
F Draw 115,100 To 125,100
F Draw 125,100 To 125,100-V1
Ink 8
F Draw 130,100 To 140,100
F Draw 140,100 To 140,100-V2
Ink 9
F Draw 100,100-V0 To 110,100-V0
F Draw 100,100-V0 To 100,100
Ink 10
F Draw 115,100-V1 To 125,100-V1
F Draw 115,100-V1 To 115,100
Ink 11
F Draw 130,100-V2 To 140,100-V2
F Draw 130,100-V2 To 130,100
Screen Swap
Wait Vbl
Loop
!end of code!
Bye!
Ps if you have amcaf you have faster Vu commands!
------------------------------------------------------------------------
Help support ONElist, while generating interest in your product or
service. ONElist has a variety of advertising packages. Visit
http://www.onelist.com/advert.html for more information.